package homework15;

public class mage extends figure{
    public mage(int blood_Volume, int magic, int velocity, double critical_Strike_Chance, double attack_speed, int grade) {
        super(blood_Volume, magic, velocity, critical_Strike_Chance, attack_speed, grade);
    }
    public mage() {
     super();
    }
    //法师以2倍伤害掉血
    protected void upBlood(int blood) {
      blood=blood*2;
      int blood1=-blood;
      System.out.println("法师受到了"+blood1+"的伤害");
      super.setBlood_Volume(blood);
    }
}
